package com.example.yuejian.yuejian.service;

import com.example.yuejian.yuejian.bean.ClubClass;
import com.example.yuejian.yuejian.bean.ClubInfo;
import com.example.yuejian.yuejian.bean.ClubList;
import com.example.yuejian.yuejian.bean.ClubVideo;
import com.example.yuejian.yuejian.bean.Masters;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/10.
 */

public interface ClubService {
    //类型列表
    @GET("clubtypelist")
    Call<List<ClubList>> clubtypelist(
            @Query("type")int type
    );
    //俱乐部详情
    @GET("clubdetail")
    Call<ClubInfo> clubdetail(
            @Query("id") String id
    );
    //俱乐部教练列表
    @GET("clubcoachList")
    Call<List<Masters>> clubcoachList(
            @Query("club_id") String clubid
    );
    //俱乐部课程列表
    @GET("clubClassList")
    Call<List<ClubClass>> ClubClass(
            @Query("club_id") String clubid
    );
    //俱乐部课程列表
    @GET("clubVideoList")
    Call<List<ClubVideo>> Clubvideo(
            @Query("club_id") String clubid
    );
}
